-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add f16
and f128
as simd types in LLVM
#127487
Conversation
@rust-lang/wg-gcc-backend I am not sure how GCC types are named, what should the equivalent update be here? |
Support was added very recently on our side: https://github.com/antoyo/rustc_codegen_gcc/pull/17/files |
With this I am assuming that e.g. @GuillaumeGomez it doesn't look like the simd support landed there, do you know what the appropriate suffixes for the intrinsics are for GCC? I am not sure where this would be documented. (should be okay to leave this unimplemented in GCC for now if there isn't a straightforward answer) |
@tgross35 that is the correct name as in LangRef. The GCC suffix is |
Some changes occurred in compiler/rustc_codegen_gcc |
Great thanks for confirming, I did the GCC updates. |
Ah, I see you edited your comment about GCC 😆 I just dropped that patch, I will take a look but we can just add it later if it's not well supported yet. |
This comment has been minimized.
This comment has been minimized.
🤔 failure looks spurious, will force push something to retry |
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (bcf1f6d): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary 2.0%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 704.358s -> 703.929s (-0.06%) |
@sayantn is working on adding SIMD for
f16
and hitting theFloatingPointVector
error. This should fix it and unblock adding support forsimd_fma
andsimd_fabs
in stdarch.SIMD work: rust-lang/stdarch#1605